{__NOLAYOUT__}
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>资源下载-{$seo_title}</title>
    <include file="Index:meta" />
</head>

<body>
    <div class="filter clearfix">
        <!-- <div class="sort">
            <select>
                <option>排序</option>
                <option>时间</option>
                <option>大小</option>
            </select>
        </div> -->
        <div class="filter-label">
            

            <label>
                <input type="checkbox"> 微课</label>
            <label>
                <input type="checkbox"> 题库</label>
              <if condition="$emptyimg eq '1' ">
            <label>
                <input type="checkbox"> 图片素材</label> </if>
            <if condition="$emptyvideo eq '1' ">
            <label>
                <input type="checkbox"> 视频素材</label>
            </if>

            <label>
                <input type="checkbox"> 其他素材</label>
            <label>
                <a class="text-danger">重置</a>
            </label>                
        </div>
    </div>
  
    <div class="card-group clearfix mb-20">
        <h2 class="con-title mb-20">微课</h2>
        <ul class="row list-unstyled">
            <volist name="wk" id="vo" empty="$empty">
                <!-- 微课 cell -->
                <li class="card-box">
                    <div class="card-box-content">
                        <div class="card-img mb-20">
                                    <eq name="vo['fileonoff']['val']" value="true">
                                            <a href="index.php?m=Index&a=detailsplay&wkid={$vo.id.val}&file={$vo.wksp.val}&title={$vo.title.val|urlencode=###|urlencode=###}" target="_blank" title="{$vo.title.val}">
                                        <else />
                                            <a href="javascript:(new $.zui.ModalTrigger({icon:'info-sign', title:'系统提示',custom:'尊敬的用户：你没有权限观看本内容，请登录相应的权限账号。' })).show();" title="{$vo.title.val}">
                                        </eq>
                                        <img src="__PUBLIC__/dist/image/img.jpg" data-src="http://hgedu.fjhgkj.com{$vo.wktp.val}">
                             
                                <div class="backdrop"></div>
                                <i class="icon icon-plays"></i>
                            </a>
                        </div>
                        <div class="card-title">

                            <div class="text-ellipsis">
                                <a>{$vo.title.val}</a>
                            </div>

                        </div>
                </li>
                <!-- 微课 cell end-->
            </volist>
        </ul>
        </div>
        
        <div class="card-group clearfix mb-20">
            <h2 class="con-title mb-20">题库</h2>
            <div class="list-down row">
                <ul>
                    <volist name="tk" id="vo" empty="$empty">
                                <li>
                                    <div class="row">
                                      <!--   <eq name="vo['fileonoff']['val']" value="true">
                                                    <a download="{$vo.title.val}.{$vo['tkwj']['val']|findnameorext=###,1}" class="icon icon-down" href="http://hgedu.fjhgkj.com{$vo['tkwj']['val']}" title="{$vo.title.val}"></a>
                                                <else/>
                                                    <a class="icon icon-down disabled" title="需下载申请"></a>
                                                </eq> -->
                                        <p class="title text-ellipsis">{$vo.title.val}.{$vo['tkwj']['val']|findnameorext=###,1}</p>
                                    </div>
                                </li>
                    </volist>
                </ul>
            </div>
        </div>
                    
        <if condition="$emptyimg eq '1' ">
        <div class="card-group clearfix mb-20 imgbox">
            <h2 class="con-title mb-20">图片素材</h2>
            <div class="row">
                <volist name="sc" id="vo" empty="$empty">
                    <foreach name="vo['scwj']['val']" item="v">
                        <if condition="$v['type'] == 'img'">
                            <!-- 项目列表 块  start -->
                            <div class="card-box">
                                <div class="card-box-content">
                                    <div class="card-img">
                                        <img data-image="http://hgedu.fjhgkj.com{$v.file}" data-fileonoff="{$v.fileonoff}" data-title="{$v.name}" data-time="{$vo.createtime.val|date='Y-m-d',###}" data-content="{$vo.scjj.val}"
                                            src="__PUBLIC__/dist/image/img.jpg" data-src="http://hgedu.fjhgkj.com{$v.file}"  alt="{$v.name}">
                                    </div>
                                </div>
                            </div>
                            <!-- 项目列表 块  end -->
                        </if>
                    </foreach>
                </volist>
            </div>
        </div>
                </if>    
        <if condition="$emptyvideo eq '1' ">
        <div class="card-group clearfix mb-20">
            <h2 class="con-title mb-20">视频素材</h2>
            <div class="row">
                 <ul>
                <volist name="sc" id="vo" empty="$empty">
                    <foreach name="vo['scwj']['val']" item="v">
                        <if condition="$v['type'] == 'video'">
                            <!-- 项目列表 块  start -->
                             <li>
                                    <div class="row">

                                        <p class="title text-ellipsis">{$vo.title.val}.{$v.file|findnameorext=###,1}</p>
                                    </div>
                                </li>
                            <!-- 项目列表 块  end -->
                        </if>
                    </foreach>
                </volist>
                 </ul>
            </div>
        </div>
        </if>
               
        <div class="card-group clearfix">
            <h2 class="con-title mb-20">其他素材</h2>
            <div class="list-down row">
                <ul>
                    <volist name="sc" id="vo" empty="$empty">
                        <foreach name="vo['scwj']['val']" item="v">
                            <if condition="$v['type'] != 'video' && $v['type'] != 'img'">
                                <!-- other cell -->
                                <li>
                                    <div class="row">
                                      <!--    <eq name="v['fileonoff']" value="true">-->
                                            
                                        <p class="title text-ellipsis">{$vo.title.val}.{$v.file|findnameorext=###,1}</p>
                                    </div>
                                </li>
                                <!-- other cell end-->
                            </if>
                        </foreach>
                    </volist>
                </ul>
            </div>
        </div>
</body>

</html>